﻿<local:DocumentBase x:Class="WPFExcelReport.JLTRSAPS"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls" 
                    xmlns:AV="clr-namespace:WPFExcelReport;assembly=TICC_MKRF" 
                    xmlns:SRU="clr-namespace:WPFExcelReport;assembly=TICC_SRULES" 
                     xmlns:SSM="clr-namespace:WPFExcelReport;assembly=TICC_STDMACHINE"
                    xmlns:RSP="clr-namespace:WPFExcelReport;assembly=TICC_SPINSPEED"
                    xmlns:AM="clr-namespace:WPFExcelReport;assembly=TAMSTAMM" 
                    xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"                    
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"                     
                    FontSize="12"
                    Name="TV"
                    Loaded="Window_Loaded"
>
    <local:DocumentBase.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:BoolToVisibilityConverter x:Key="bv"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1440  x:Key="day"/>
        <ucd:Divideby480  x:Key="shift"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:TextTrimmingConverter x:Key="Trim"/>
        <ucd:PNumConverter x:Key="pnum"/>  
    </local:DocumentBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2">
           
        </StackPanel>
        <Grid Name="zAV37" Grid.Row="1" Grid.Column="0"  Visibility="{Binding IsShowGantt,ElementName=TV,Converter={StaticResource bv}}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <AV:TRSAV37   Grid.Column="0"  Height="Auto"  Name="cAV37"
                         KSTKRS="{Binding KSTKRS,ElementName=cAV33}"  
                         KST="{Binding KST, ElementName=cAV33}"
                         AMTYP="{Binding AMTYP, ElementName=cAV33}"
                         AGANG="{Binding AGANG ,ElementName=cAV33}"
                        />
        </Grid>
        <Grid Name="zAV33" Grid.Row="1" Grid.RowSpan="2" Grid.Column="0"  >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <AV:TRSAV33   Grid.Column="0"  Name="cAV33"  
                           IsShowGantt="{Binding IsShowGantt,ElementName=TV}" 
                         JOBID="{Binding Path=JOBID,ElementName=cAV37, Mode=TwoWay}"  
                       />
        </Grid>
    </Grid>
</local:DocumentBase>

    